<template>
  <view class="panel">
    <uni-collapse >
      <uni-collapse-item  title="我的组团"  :show-animation="true" style="width: 100%;">
          <uni-list>
            <uni-list-item title="我发布的" :show-extra-icon="true" :extra-icon="extraIcon1" link to="/subpkg/my_send/my_send" ></uni-list-item>
            <uni-list-item title="我暂存的" :show-extra-icon="true" :extra-icon="extraIcon3" link to="/subpkg/my_draft/my_draft" ></uni-list-item>
            <uni-list-item title="我加入的" :show-extra-icon="true" :extra-icon="extraIcon2" link to="/subpkg/my_join/my_join"></uni-list-item>
          </uni-list>
        </uni-collapse-item>


    </uni-collapse>
  </view>
</template>

<script>
  export default {
    name: "farmer-panel",
    data() {
      return {
        // extraIcon1:{
        //   color: '#303133',
        //   size: '18',
        //   type: 'shop'
        // },
        // extraIcon2:{
        //   color: '#303133',
        //   size: '18',
        //   type: 'wallet'
        // },
        // extraIcon3:{
        //   color: '#303133',
        //   size: '18',
        //   type: 'email'
        // }   
      };
    }
  }
</script>

<style lang="scss">
  .panel{
    width: 100%;
  }
  
</style>